package com.client.service.rule;

import java.util.List;
import java.util.Map;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.shared.data.IData;
import com.shared.data.TypeIData;
import com.shared.model.Assure;
import com.shared.model.Proposition;
import com.shared.model.Tarification;
import com.shared.rule.TypeDataRule;


public interface DecisionMakerServiceAsync {

	void operate(String nomDM,IData input,TypeIData type,
			AsyncCallback<String> callback);

	void getAvailableDM(AsyncCallback<String[]> callback);

	void getDMasString(String nomDM,AsyncCallback<String> callback);

	void saveDM(String nomDM, String contents, AsyncCallback<String> callback);

	void getData(String type, AsyncCallback<Map<String, TypeDataRule>> callback) throws IllegalArgumentException;

}
